package cn.agiledata.bank.account.util;

import java.util.List;

import cn.agiledata.bank.hibernateBean.AccountGroups;
import cn.agiledata.bank.hibernateBean.Transaction;

public interface AccountHistoryObserverInter {

	public void update(Object account,
			Double amount,
			Double fee,
			String receiveOrPay,
			Transaction tran,
			Long peerAmount);

	public void updateAll(Object[] accountList);

	public void updateTranHis(Transaction tran);
	public void updateAccountGroupHis(AccountGroups accGroup); 
	
	public AccountGroups getAccountGroups(String accountId,String groupType);
	
	public List getAccountGroups(String id);
}